package com.dwxt.community.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class RecycleRecord {
    private Integer id;

    private String recycleAddress;

    private Integer recycleAddressId;

    private String phone;

    private Integer weight;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date appointTime;

    private String note;

    private String recycleList;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer isCompleted;

    private String userId;

    private Integer communityId;

    private String communityName;

    private String username;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRecycleAddress() {
        return recycleAddress;
    }

    public void setRecycleAddress(String recycleAddress) {
        this.recycleAddress = recycleAddress == null ? null : recycleAddress.trim();
    }

    public Integer getRecycleAddressId() {
        return recycleAddressId;
    }

    public void setRecycleAddressId(Integer recycleAddressId) {
        this.recycleAddressId = recycleAddressId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Date getAppointTime() {
        return appointTime;
    }

    public void setAppointTime(Date appointTime) {
        this.appointTime = appointTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public String getRecycleList() {
        return recycleList;
    }

    public void setRecycleList(String recycleList) {
        this.recycleList = recycleList == null ? null : recycleList.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsCompleted() {
        return isCompleted;
    }

    public void setIsCompleted(Integer isCompleted) {
        this.isCompleted = isCompleted;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName == null ? null : communityName.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }
}